Basically setting up a tridiagonal matrix involving terms y(ii).
I can solve the problem by doing a two step forward iteration but do not see why solving the system does not give me the same(correct plot). yt gives the exact solution.