Project Euler Problem 6(PHP)