An exercise for NSS, my first ruby app.