solution for course project