added vim temp files to gitignore
removed compiler warnings