Added a print functon for the ht. Stil needs some indentation. As well I need oly to included if cabal builds tests.