Using Py_XINCREF macro
Adding and algorithms, starting graph module and test refactoring.
Restoring to Py_INCREF macro for avoiding warnings.
Checking the types of the subtrees on __init__.