Algorithm For N Queens Problem Geeks