This program is not completely written by me. Parts of it where modification was necessary is written by me. The credit goes to whoever the author is