Fixed problems in Position.java
Fixed problems in Case.java