Creates a state machine.
|_list||list of anything over which the state machine will run (type needs to support setVariable) ARRAY OR code that will generate this list, called once the list has been cycled through <CODE>|
|_skipNull||skip list items that are null|
|_stateMachine||a state machine <LOCATION>|
_stateMachine = call CBA_statemachine_fnc_create;