Project Euler Problem 80(PHP)