Table of Gauss numbers

This routine computes the number of k-dimensional subspaces of the n-dimensional space over the Galois field containing q elements for 1<= n<= N and 1<=k<=K. The result is a table: the rows are labeled by n, the columns are labeled by k.

please enter the maximal length
N=
please enter the maximal dimension
K=
please enter the size of the finite field
q=

The routine works up to large numbers, for example: N=70,K=10,q=5.