An exercise using self referential associations in Rails