Added my C++11 solution