Added Queen's behavior and Bishop's behavior.
small refactoring
Iteration logic