Finished successor function, changed depth decrement of minimax