Assignment 2

Assignment 2 first trying. Assignment 1 final version.