Use Pascal triangles for solution.
Remove old unused code.