added new Methods to locate the corners of the player for collision