A simple three way temperature converter written in Java