added class Displayer capable of displaying the given bufferedimage for test purpose.