Number of Breakpoints Problem (updated)

Minor syntax update.  Refactored code to reduce total number of lines.
Functionality remains the same.