finishing array lab

revised the problem on broadcasting arrays
rename for clarity
general matrix multiplication instead of squaring

Change the implementation to a general matrix multiplication.