Fire escape route simulator program (Java)