Implement a function in Python that calculates Chebychev polynomials of first or second kind using a recursive scheme.