constructing a spiral classifier