Cleaned up leftover code from PHP problem 1.
Added PHP solution to problem 8.