Add the List class.
The implementation is a simple adaptation of the former function in List.subs.

Signed-off-by: Norv <a.w.norv@gmail.com>
Replace the use of List.subs and remove the .subs.

Signed-off-by: Norv <a.w.norv@gmail.com>