Gapplet

Given some vectors in (Z/pZ)n, determine the minimal distance of the linear code they generate.

Input a prime p
e.g., 2
Input a matrix of vectors, 
e.g., [[1,0,1,1,0,0,0],[0,1,0,1,1,0,0],[0,0,1,0,1,1,0],[0,0,0,1,0,1,1]]. 
 
 
Compute the parameters (n,k,d) of the linear code spanned by the rows of the matrix