CS371D Project 1