check if Iterable provided to createLM

intead of using isinstance to check for Polytope.
This avoids type mismatch caused when the polytope module is reloaded.
An example is running robot_continuous.py in an IPython session,
then running another file that calls get_input.

Also, in get_input: pythonic iteration over target Region's polytopes