Implemented alpha-beta pruning

Noticeably faster