Added incomplete method, add indexing support to todos class
added 'x' key to toggle completion, test writing output
python2 expects next() instead of __next__()