<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def box(side=1):
 """Draw a box"""

    half_side = side / 2
    _state["ctx"].rectangle(-half_side, -half_side, side, side)
    _state["ctx"].fill()