Added pa4 solution.