Initial set of programs which I have written while reading algorithms..