Fixed Refactoring bugs

Knot.java -> missing }
Main.java return comes before break damn
working again :)