Cleaned up initialization of variables and deleted the unnessecary ones like score.
Minimax with Ben's changes.