Adding code, compile script, and (updated) .gitignore.