Completed Assigment

Tested with 3 by 3 matrix
and a for loop (1:10000)