Eight Queens problem in Java