Added health bar at the top of the game and removed unnecessary code

A heart is taken away and an empty heart displayed in its place when the character comes into contact with an enemy, there is then a space of 2 seconds before another hit can be registered.