basic documentation
tweak some code and start a minimax algorithm