Added problem 16 in c++

Took some help from stackoverflow to learn to handle to huge number but after that not too bad