Added resultprinter to generator

Generator can now print a result given a finished hashmap