added a new function with a command line option to trigger it. this method scans a single image and prints, for each line, all detected boundaries. this will eventually be very useful when we have scans with multiple lines (more than two boundaries)