Code for problem 104.
Code for problem 107.
Code for problem 108.
Code for problem 109.
Code for problem 110.
Code for problem 111.
Code for problem 121.