CS 472 homework1