C++ implementation of the K algorithm for high energy particle collisions
