Create gram.cpp