fixed major bug with alpha-beta
working on nearest Neighbor