program to visualize errors

TODO: review the code, maybe some bugs!