Made changes in printNumber method's return type (void --> String) and fixed the error (ints were out of range)