converts between celsius and fahrenheit using scala