added printf to main and added .project to gitignore

like the title says