CS121 Assignment 3 Part II