cs354r-assignment3