Primary Algorithms Written in C