Added __checkBounds to player class
Method to check if the player is out of bounds
This function does exactly what used to be contained within the if
statements for Left, Right, Up, Down but is now called at the end of the
movement keys and assigns x and y to the values of the function's returned
value