Haroon added sequences, counting error fixed where first sequence was shorter