The answer of programming assignments of Coding the Matrix [Cosera]