Parse Gomoku moves. Added a unit test.