Modified results message (added a message type). First version of DTAGreedy (preliminary, but seems to work)