listCase and maybeCase definition and null is rewritten by using it
more in selfProblem.hs ..