Implementations of Matrix Multiplication Algorithms for Teaching