Use C++11 way to print vector
Add problem solution