Playing around with Ruby to master the standard library