[sc-memory] Fix problem with iterator using (#179)
Merge branch 'dev' of https://github.com/deniskoronchik/sc-machine into dev