added gitignore and made the program run on linux. No OSX compatibility