added solution 01 temperature.rb