so i wanted to know of i could somehow create a map of things around my robot
Yes this has been done before, however due to the available memory of the Arduino the map will allways be only partial.
You could mount a ping sensor or other distance sensor on top of a servo, and let it measure the distance in every angle - OK every 10 degree's wil do - then you have a circle of distances from left to front to right to back to left. Costs - 36 ints and the time to do the measurements.
Now it's your turn to build it