CS343 Assignment2