create_variable function

Creates a variable in a process graph