Parallel thinning Algorithm for Binary Digital Patterns