add PDA and DC3 algorithms and counting sort algorithm