Session09

Just improved a few functions in generator_solution.py and p_wrapper.py