Added functions for Max, Min and Average temperature, also started to build new datatype