Code for java application that demonstrates a specific extension (1-pyro) of the firefighting problem in graph theory