Added input grid.

Added input grid. It does not work yet. I also made the labels more
centered.