Fixed #3

Added support for templates with multiple parameters.
Added .gitignore file

Added .gitignore file, with pattern to ignore backup files (*~)