Special thanks to my faculty Mr. Natarajan for making me understand the concepts.