created remove functionality to todo list