Code for Programming 1 Class