Constructor for class Point was added.