Update solution.cpp
Merge pull request #1 from sbonfert/patch-1

Update solution.cpp