Create Sonar.java

Added two methods that may or may not work.