Update DuckSimulator.java

add some comment