Added method to enumerate link ranges and added unit test