Draw grid given the rows and columns