Create g.cpp
Merge pull request #7 from learngithubanshuman/t1