Update gitignore
Add mock assignment

I happen to find out a cumulative formulate for F.
  cumulativeF(N,X,Y) = (N*X) + (sumTillN*Y)
Maybe there is an equally efficient tail recursive solution or a dynamic
programming method.