GC islands exercise

  1. Extend our own internal sequence format, Isequence.py, so that it has a method gc_count() which, if the represented sequence is a DNA sequence, returns the number of gc islands in the sequence, i.e. the number of occurrences of the substring 'gc'.
  2. Write a similar method that counts 'at' occurrences.