Created .gitignore

There is no reason for the .class files or the .idea directory to be placed in the repository.