def init_field(height=20, width=20):
    """Creates a field by filling a nested list with zeros."""
    field = []
    for y in range(height):
        row = []
        for x in range(width):
            row.append(0)
        field.append(row)
    return field