Grid constructor is overloaded to accept an integer argument