Adds gitignore, and fixes small formatting errors.