Wrote basic algorithms to find centroid, distance, and normalize points.