Initial code commit

Solution used for both of two ways of adding list items.