Solving Falkner-Skan type equations via Legendre and Chebyshev Neural Blocks