Small program to compute the difference between two signals (given line-by-line)