Add a main() method for convenient debugging
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>