Added an algorithm that calculates the coefficients of the Legendre polynomial of degree n using the recurrence relation