Wrote whitelist using dfs of ast with some pruning. Logs success/failure to console.