modified code
Merge branch 'master' of https://github.com/geraldstanje/algorithms