Beginning of data types from functions implemented.
Added tree iterator.
Added datatype attribute in favor of datatype field.
Added data type info to eval
Updated get datatype function to not overwrite datatypes.
Updated data types for stats command and friends