added gitignore
removed unnecessary remove method of array