Project 2 for cs130A