tmap constructor

Added TreeMap import  statement and added initialization within the
constructor.