Convert to cmake and optimize problem5
Convert problem6 to cmake
Convert problem7 to cmake
Convert problem8 to cmake; optimize problem8
Convert problem9 to cmake; optimize problem 9
Implement problem10
Move problem11 to cmake