JS solution to problem 12 pushed. getNthTriangle function added to Euler