The second Painlevé equation, its hierarchy and associated special polynomials