Basic core dump generation
Merge pull request #5 from igorii/master

basic core dump