Computer Science: Algorithms in PHP