added monad functions
Merge pull request #3 from megakorre/core_monad_functions

added monad functions