Programs on various Algorithms