added function programming in scala code base as submodule.