Function to delete todo

One of function of #4