This is a homework assignment for a course