Wrote the python classifier that maps the entry lanes to the exit lanes