updated .gitignore
Changed result enum to use generics