matrix2D.cpp: added matrix multiplication algorith