add option to save session every x nodes

defaults to 100
Merge pull request #94 from psytraxx/patch-1

add option to save session every x nodes