all test pass .... but there is a bug in last ai move