Converts fahrenheit to celsius using functions.