Updated to C++1y and stdlibc++
Added solutions for 5-1, 5-2 and 5-3