Thales Interview Question

Write a Depth First Search Function