Assignment2

The code for assignment 2. Copy from the code of slides, but still has problem. Could you try to find out as well? It's in package assignment2