'Requires:
line
Returns:
nothing
Logic:
End the cell. Print out the closing marks. Pop the self.__state.'

def __end_cell_func(self, line):

    if (len(self.__state) > 1):
        if (self.__state[(-1)] == 'in_cell'):
            self.__state.pop()
    self.__write_obj.write('mi<mk<close_cell\n')
    self.__write_obj.write('mi<tg<close_____<cell\n')
    self.__write_obj.write('mi<mk<closecell_\n')
