Implemented rudimentary bootstrap stuff.

Fixes #9
Merge pull request #12 from nllptr/feature/bootstrap

Implemented rudimentary bootstrap stuff.