Starting from scratch. Defining class Point