Added solver
Added error handling to solver and ensured all required methods are in Node.
Merge pull request #4 from Winston-Chan/nathan

Added Solver