cs603 assignment 1 solution