Added tests for hasValidMoves, isMoveValid and getNodesToSwap
Merge pull request #29 from mharrys/test-api

Added tests for hasValidMoves, isMoveValid and getNodesToSwap