Updated isWholeNumber() method to allow for numbers larger thatn 9.
Added isFraction() method which returns true if the input is a fration.