Switched to a simpler, more condensed printing method
Tweaked Problem 6, Problem 5