Fixed multiple code sample execution
Merge pull request #21 from edh106/master

Fixed multiple code sample execution issue #6