Implement expand of high rank arrays.
Add dfns queens example.