Update Compass.java

Fixed the compass.java package