added Grid.h and Grid.cpp to github