created the LineProcessor and created an example