recursively and back trace to get N Queens solution