Added number function to correct error with numbers being given by user coming up as a string.