Coding Game Temperatures Java Solution