Finished depth pruning and tweaked algorithm to take immediate wins