Simple solutions for assignment c. This time, I didn't pay too much
attention to correctness in terms of C++11 Concepts.