Create similarity.cpp

Solution string similarity but to small numbers. Poor complexity