Editing the tunnel collapse format, and fixing Main.java