Alternate way to render the todo list. Added delete functionality.

Mostly copied from another tutorial and adjusted to todos.
Intresting to see two ways to handle todo list rendering.