Added N-Queens example

adapted from tests