Create SentenceDetector.java

This is the copy exactly as it came from Varsha Devadas