main_grid.cpp - implemented the numbers being printed onto grid