marking input test as medium
marking analysis test medium
using new class Subsequence to store sequence ranges
adding a little more documentation