Added map of typed tree (Util/maptptree) and started on custom printer for ted