Helper for the 3rd

3rd assignment is half-way done, added a small helpr to print out the
difference matrix.