class Chord(object):
    # TODO: doctring
    def __init__(self, root_note):
        # TODO: doctring
        # TODO: validation
        self.notes = [root_note]
    
    def root(self):
        # TODO: doctring
        # TODO: tests
        return self.notes[0]

    def add_note(self, new_note):
        # TODO: docstring
        # TODO: tests
        if new_note < self.root():
            self.notes.insert(0, new_note)
            return

        for i in range(len(self.notes) - 1):
            if (new_note >= self.notes[i]) and (new_note < self.notes[i + 1]):
                self.notes.insert(i + 1, new_note)
                return

        self.notes.append(new_note)
class Chord(object):
    # TODO: doctring
    def __init__(self, root_note):
        # TODO: doctring
        # TODO: validation
        self.notes = [root_note]
    
    def root(self):
        # TODO: doctring
        return self.notes[0]
--- 
+++ 
@@ -7,4 +7,19 @@
     
     def root(self):
         # TODO: doctring
+        # TODO: tests
         return self.notes[0]
+
+    def add_note(self, new_note):
+        # TODO: docstring
+        # TODO: tests
+        if new_note < self.root():
+            self.notes.insert(0, new_note)
+            return
+
+        for i in range(len(self.notes) - 1):
+            if (new_note >= self.notes[i]) and (new_note < self.notes[i + 1]):
+                self.notes.insert(i + 1, new_note)
+                return
+
+        self.notes.append(new_note)
Add ability to add notes to a Chord.

Signed-off-by: Charlotte Pierce <351429ca27f6e4bff2dbb77adb5046c88cd12fae@malformed-bits.com>
