added printf to main and added .project to gitignore