Project 2 for cs369