<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def l_system(axiom, transformations, iterations=1, angle=45, resolution=1):
 """Generates a texture by running transformations on a turtle program. First, the given transformations are applied to the axiom. This is repeated `iterations` times. Then, the output is run as a turtle program to get a texture, which is returned. For more background see: https://en.wikipedia.org/wiki/L-system Args: axiom (str):
 the axiom of the Lindenmeyer system (a string) transformations (dict):
 a dictionary mapping each char to the string that is substituted for it when the rule is applied iterations (int):
 the number of times to apply the transformations angle (float):
 the angle to use for turns when interpreting the string as a turtle graphics program resolution (int):
 the number of midpoints to create in each turtle step Returns: A texture """

    turtle_program = transform_multiple(axiom, transformations, iterations)
    return turtle_to_texture(turtle_program, angle, resolution=resolution)