Made attempts at fixing linked list swap by adding new methods