text: var gQuestsTree;
  var gCurrQuest;
  var gPrevQuest = null;
  
  function createQuestsTree() {
    gQuestsTree = createQuest('Male?');
    gQuestsTree.yes = createQuest('Gandhi');
    gQuestsTree.no = createQuest('Rita');
    gCurrQuest = gQuestsTree;
    gPrevQuest = null;
  }
  
  function createQuest(txt) {
    return {
      txt: txt,
      yes: null,
      no: null,
    };
  }
  
  function isChildless(node) {
    return node.yes === null && node.no === null;
  }
  
  function moveToNextQuest(res) {
    // TODO: update the gPrevQuest, gCurrQuest global vars
    gPrevQuest = gCurrQuest;
    gCurrQuest = gCurrQuest[res];
  }
  
  function addGuess(newQuestTxt, newGuessTxt, lastRes) {
    // TODO: Create and Connect the 2 Quests to the quetsions tree
    var quest = createQuest(newQuestTxt);
    quest.yes = createQuest(newGuessTxt);
    quest.no = gCurrQuest;
  
    gPrevQuest[lastRes] = quest;
    gCurrQuest = gQuestsTree;
    saveToStorage('quests', gQuestsTree);
  }
  
  function getCurrQuest() {
    return gCurrQuest;
  }
  