Added general genetic algorithm. Updated .gitignore for Netbeans' unnecessary files.