text: function addPeopleInfo(container, i, schoolIncluded, majorIncluded, positionIncluded, subjectIncluded) {
      container.innerHTML += '<div class="individual">\
      <img id="photo" src="images/profile photo/' + i + '.jpeg">\
      <div id="right">\
      <h3 id="name">' + people[i].name + '</h3>\
      </div>\
      </div>';
  
      if (typeof (people[i].school) != "undefined" && schoolIncluded) {
          container.innerHTML = container.innerHTML.substring(0, container.innerHTML.length - 16) + '<p id="major">' + people[i].school + '</p>\
      </div>\
      </div>';
      }
  
      if (typeof (people[i].major) != "undefined" && majorIncluded) {
          container.innerHTML = container.innerHTML.substring(0, container.innerHTML.length - 16) + '<p id="major">' + people[i].major + '</p>\
      </div>\
      </div>';
      }
  
      if (typeof (people[i].position) != "undefined" && positionIncluded) {
          container.innerHTML = container.innerHTML.substring(0, container.innerHTML.length - 16) + '<p id="position">' + people[i].position + '</p>\
      </div>\
      </div>';
      }
  
      if (typeof (people[i].subject) != "undefined" && subjectIncluded) {
          container.innerHTML = container.innerHTML.substring(0, container.innerHTML.length - 16) + '<p id="subject">' + people[i].subject + '</p>\
      </div>\
      </div>';
      }
  }