renamed
initialized task 6 by copying the matrix class from task 5 solution