Fixed some bugs caused by the change of data structure.
Next step:
1. work on ball.java
2. do research on JBox physics package