Implementation of rsync algorithm for data synchronization.