Salesforce interview question

Write a program to track module dependencies