Iterative deepening fixed, add some commentaries to debug