format source to pep8
added tests for minimax strategy