Adding in new code to test if a player tries to move out of bounds