produce a spiral array