Create minigma.cpp

the main source of the program