project 1 for CS 342