Added print78()

function to print output of problem 7 and 8