Working project

Runs the first scenario(varying p from 0 to 1)