Added digit, number, whitespace, one_or_more, and zero_or_more methods

I added digit, number, whitespace, one_or_more, and zero_or_more methods. I also updated rspec tests as well.