changed logic in minimax to use clone board. not working.
fixed error when using clone board