Merge pull request #21 from edh106/master

Fixed multiple code sample execution issue #6
Added design document latex