Project 3 for CS367