Added functions to lib/lottosim.rb
Fixed typo in lib/lottosim.rb that caused uninitialized constant error