Added todo for list index out of range error.