Completed printNumbers