check_step_type: Check if the step type is valid
Description
Will stop if not
Usage
check_step_type(step_type)
Arguments
- step_type
when between two points, where the second point
has both a higher x and y coordinat, which y coordinat to follow.
'step_type' can be: