Masterthesis/ADP: Simulation of ADAS behaviour - Investigation of a state machine approach