added function group2table for writing group multiplication table to a Matlab/Octave array.