added type annotations
Merge pull request #18 from vadali/master

added type annotations