removed new line between queries

Added a method remove_blank_lines(String) that checks for blank new line
and removes it.