A simple workout of basic statistics using Ruby.