Adds equals method to node

Allows to compare two trees
Minor cleaning
Merge pull request #9 from ProjetPP/equalsMethod

Adds equals method to node