WIP
Add solution to problem 10131