Add GrahamAlgorithm implementation