Fixed up Node to use ints and longs where appropriate and added some methods necessary for the solver.
Merge pull request #3 from Winston-Chan/nathan

Fixed Node