testing for coordinates in tile