generate grid of inputs with columns and lines number