Created separate demo programs for Maybe and Either