Ramer Douglas Peucker Algorithm for Swift An implementation of the Ramer-Douglas-Peucker algorithm in Swift 5