Create TiltSensor.java