ruby assignment, part of the odin project