Converted to FP Complete Haskell Center
added "Index" type.  This is more useful than the generic (Int, Int) that it replaces.
generate added to the type class and created.  This function is used to generate a matrix.