Updated makefile
Fixed an out of bounds error
Moved some stuff around!
Added a function to get the ids of Entities around a spot