Update .gitignore

Only ignoring class files.