Homework for USC CSCI 580