Fixed move and test case
Added test for Move
Changed for ending game
minor fixex