PHP Solutions for Project Euler problems