Catalan Numbers with Applications