Some of the Code which i wrote.