Created calculate method at MiniMax Object