adds printing of resulting data structure to the data structure assignment questions