Create anagrams.cpp

Classic string problem. Worth do it again.