add example code
Merge https://github.com/YananJian/DS_RMI