Temperatures excercise of codingame written in golang