Added temp heartBeat Function in Player.java