Assignment 5/6 for CSCI201 at USC