adding todos to html
changed todo into an object