Codium interview question

develop a rsync-like application using the given stencil code