Create If two numbers gray's sequence