adjusted project configuration

Extended the .gitignore file to ignore Eclipse-specific stuff. Furthermore, added a sample main.cpp for testing purposes.