Compare Two Linked Lists In Python