gui takes input and will display a grid of buttons