<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def cons(self, element: Any) -> 'List': """Add element to front of List."""


        tail = self._get_value()
        return List(lambda sel: sel(element, tail))