Primitive actions now added from behavior policy learning step
Fix case where episode successfully finishes: was not incremented before
Write and flush csv after each episode