Homework 3 for NYU INFO1-CE9704