Added test run of QueryGraphCompiler to homework3. Also, added simple print method for testing.