Update HelloDungeon2.java

These are just code errors, extremely small but important to run the program.

Line 216: You placed a semi-colon(;) in the condition of the while loop.

Line 224: Unnecessary closing bracket (}).