Added a method for getting the neighbors of a tile