Number of Breakpoints Problem

Solution to Rosalind Textbook Track Problem 6B: Number of Breakpoints
Problem