Using StdOut.printf for printing messages to screen.