Added function that checks if a critter is at the end tile