learn ruby the hard way exercise 6