Implemented linked list addition algorithm.