Added onGround() Function to Hero

The hero class now has a method to detect whether it is on the ground
(above a block) or not.