This is a Coursera course, Coding the Matrix: Linear Algebra through Computer Science Applications by Philip Klein of Brown University.
The cousrse id is matrix-002, 2015. Here are the Programing Assignments of the course.I hope you can do it by yourself.