Removed .java~ files and added a git ignore to prevent that from happening again