refactored minimax out of cpu and moved relevant tests
Merge pull request #1 from daino3/minimax

refactored minimax out of cpu and moved relevant tests