A full implementation of the Potato Sort algorithm.