Added adversarial search and updated other code.