creates the correct output for the test data from VM assignment