Fixed so getTile returns null if outside of the array