Solved 22, 30

Both problems were pretty straight forward. Some neat C++11 tricks were
used in the problem 22 solution.