Added a testing tool for judge emulation or debugging