Homework 1 problem:  multiply matrix by a vector