Linked list

Improve readability and pythonicity.