Rewrote: Euler 3 - PHP, accidentally did q2 again!