temp converter from shawns lecture, not complete