completed 8 queens algorithm and displayed it via java gui