Added pwm source files.
Updated .gitignore to ignore vim backups (*~)