changed import path, because python3 makes out of classes, which where
imported in different ways, different classes. modified midpoint_example
for python3 division
removed pdb import