Added a gitignore file

the gitignore file ignores .class files and the .idea folder