Created boolean to give lives to the players