Added 8-queens algorithm