Project Euler Problem 9(PHP)