Slight modification to CMake so that I can compile for Windows. Added gitignore file.