Code re-use in FunctionM with function passing
Renames
Remove func passing into CreateSeqNodes that was redundant after implementing the foldLeft
Renames in tests
renames in tests