Update sharingmemory_by_node.c

Translating comments and adding new ones