more cleaner/less general type signature for  function
Merge branch 'master' of github.com:GhostBarik/haskell-algo