adding new constructor to Grid class to prevent explicit initialisation of the board