Fixed bug where python function arguments overwrote.
Added newline to end of gitignore