attempting to do the onSensorChanged() method in Sensorship.java