Questions 1-3

Seems to work, but my output is a list, not a matrix, which I need to
return to. Still need to comment on question 3.