Added the gitignore file.

Added a list of files to be ignored, in order to prevent compiled files
and editor files from being committed.