Updated N Queens Problem