Adding the source code to the github repository. I advice adding also a ...

...license.
Git code was copied from https://www.assembla.com/code/mm7/mercurial/nodes, I'll maintain the code in every way I can.