Update gitignore and documentation file

ignore vim swp files
use github's syntax highlighting feature so documentation is more clear