Code Sample request for internship application.  Building and inference engine similar to the prolog language.