Added rules for object code to gitignore
Added compiled output files to .gitignore
Populates the array based on the arguments.