updated with null and dublicated check
removed old ArrayList implementation and tests
updated gitignore to ignore intellij project file