Just general implementation of well known algorithms in PHP and other languages