adding code
Merge github.com:tommclaughlan/risksim