Implementation of TodoList for tests from task-2