tdd and optimise computer plaeyer
implement negamax
refactor negamax