Updated .gitignore, imported a test program

Test program works under Linux. Copied into the repo in order to test for cross-platorm compatibility with Windows.