add main test catch
add empty test case for the grid class
change return type of printGrid to string
latest update still problems with printGrid()
add main.cpp testfile