project 5 for CS 342