Homework 3 for Class CS149 - prof. Mak.