s/while(p!=NULL)/while (p != NULL)