<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extract_element(self, vector, idx, name=''):
 """ Returns the value at position idx. """

        instr = instructions.ExtractElement(self.block, vector, idx, name=name)
        self._insert(instr)
        return instr