project 3 for CS 342