Basic temperature converter programmed using Java