cleaned up some of the project2b code. Made it so that it would build without errors