Monadic programming paradigm java implementation and Null pattern
practical addition