added som nGonalNumbers generation functions using lambdas