This is the implementation of GM Network

1: g++ train.cpp 2: ./a.out