Update .gitignore for Java/Python