Added a gravity variable
Updating the Y-position of the hero every frame