code: function compassDirs(heading) {
      if (heading > 337 || heading < 23) {
          return "North";
      }
  
      if (heading < 67) {
          return "North East";
      }
  
      if (heading < 112) {
          return "East";
      }
  
      if (heading < 157) {
          return "South East";
      }
  
      if (heading < 202) {
          return "South";
      }
  
      if (heading < 247) {
          return "South West";
      }
  
      if (heading < 292) {
          return "West";
      }
  
      if (heading < 337) {
          return "North West";
      }
  
      return heading;
  }
docs: Turn compass heading into friendly heading (NSEW, etc.)