linked lists finished, with bubble sort