Working through various exercises in ruby.