add linkedlists and add setsofstacks in stackandqueue