Update survey_db.java

updated checkUniqueSurveyName function to return true if the name is unique. If the name is in the database then it returns false.