Changed movement to be based on booleans

Booleans make it easier to see the direction the player is moving in