Implementing Eight Queens puzzle using TDD in Java