Add gitignore
Add comments in the source code
Modify the system of properties and DC algorithm.