Unix Shell Script Functions with Parameters and Return