Slightly tweaked initial point generation, used #defines for the visualization of different stages of generation, fixed a bug relating to crossing exit paths