Refactor

Separated some methods.
Board Iterator

Added and implemented my boardIterator inner class.