Added gestureDetect.java