Problem Set 4 for CSCI E-15