homework of ruby course 1