Initial version of alpha beta pruning algorithm.  no testing