Collection of various algorithms for personal study, implemented in PHP