First homework assignment for rails