Create Gra.cpp

implemented game logic