In a triangle ABC, angle ABC = 90 and BD is perpendicular to AC. If BD = 8 cm and AD = 4 cm then find the length of CD?