Create MATRIOSH.cpp

SPOJ MATRIOSH Generalized Matrioshkas