Problem 018 solution.
Problem 019 solution.
Problem 020 solution.
Problem 021 solution.