Made the player response to input. Does not fully work yet.