Added MyLinkedListSafe class.