Lesson2をOOP的に更新

TODO: define Class Points.