removing todo items

using the splice method created a function to remove one todo item for
the item array