Update print_results.c

Some revamping of result printing and removing of some minor bugs