       for (charNumber, char) in line.enumerated() {
 
         if lineNumber == 0 && charNumber == 1 && char == "_" {
-          bits |= 4
+          bits |= 1
         }
 
         if lineNumber == 1 {
           if charNumber == 0 && char == "|" {
-            bits |= 8
+            bits |= 32
           }
           if charNumber == 1 && char == "_" {
-            bits |= 16
+            bits |= 64
           }
           if charNumber == 2 && char == "|" {
             bits |= 2

      return 7
    } else if bits == 127 {
      return 8
    } else if bits == 95 {
      return 9
    }



        if lineNumber == 2 {
          if charNumber == 0 && char == "|" {
            bits |= 16
          }
          if charNumber == 1 && char == "_" {
            bits |= 8
          }
          if charNumber == 2 && char == "|" {
            bits |= 4
          }
        }

      }
    }

    if bits == 63 {
      return 0
    } else if bits == 6 {
      return 1
    } else if bits == 91 {
      return 2
    } else if bits == 79 {
      return 3
    } else if bits == 102 {
      return 4
    } else if bits == 109 {
      return 5
    } else if bits == 125 {
      return 6
