add example of N-queens server and client