Implement liftM and liftM2 helper functions in coffeescript
Implement liftM and liftM2 helper functions in python