Update Temperature.java

changed the return type from void to Units