This function returns a grid containing the buttons created.
Returns grid containing the buttons created.