Added trim_strings.sh

function trim_strings() removes leading and trailing space
without any external tools except bash