Added 1-4 solution.