Implemented a simple healthbar for the player