Some exercises in Ruby, as a warm-up before getting into Rails