Modifying gitignore to include .class files and exclude com directory