A random number generator for lotteries and other games created with Ruby on Rails