Added general toString method to DataType class. Deleted toString method of Function class.