Added a wall function that returns what side a rect is facing towards the wall.