Home work assignment 1 for Computer Programming 1