added a printNumber method. It takes an integer argument and prints it as a string.