Recognition of on-line handwritten arabic digits using structural features and transition network