class Square.java
add default to switch