Created each class for CS242 Project 1.