An exercise in Ruby to create a supermarket shopping system