added gitignore file
added README file
restrucuted the code