implementing shared memories among mobile phones