Added basic command line parsing and added a gitignore file.

 * Added basic command line parsing.
 * Added a gitignore file which ignores swp files.
Merge branch 'cmdline_parsing' into develop