The Elements of Cantor Sets: With Applications