Finished all but bonus exercises for assignment 2 Lin alg