Algorithms: Design and Analysis, Part 1 PHP playground