Create MatrixMultiplication

This "Encode" function is really a matrix multiplication which both addition and multiplication operations are implemented in GaloisField(2^8).Addition in GF(2^8) is equal to XOR.As to the multiplication,I employ a table-based method using logarithmic and exponential tables.