Edited .gitignore to ignore files created while compiling mechanisms on Mac.