Added initialization list to propogater, and handling ways when malloc don't work to propagater and dupme.