Some work done for CS courses at IITM.