program 1. main is in PointPractice.java