Project Euler Problem 8(PHP)