Addint RMI part of the 4th homework.