text: 'use strict';
  
  
  var ANCESTRY_FILE = require('./ancestry.js');
  var ancestry = JSON.parse(ANCESTRY_FILE);
  
  function filter(array, test) {
    var passed = [];
    array.forEach(function (item) {})
    for (var i = 0; i < array.length; i++) {
      if (test(array[i]))
        passed.push(array[i]);
    }
    return passed;
  }
  
  console.log(filter(ancestry, function (person) {
      return person.born > 1900 && person.born < 1925;
  }));
  
  console.log('------------------');
  
  console.log(ancestry.filter(function (person) {
      return person.father === 'Carel Haverbeke';
  }));
  