Project Euler Problem 2(PHP)