added documentation
Merge pull request #15 from odbaev/haddock

haddock