CS501 Assignment 1 Solution Spring 2022