fixed some bugs in LinkedLists and StringsAndArrays