add algs4.sh which contains the default paths and constants
update bin files to use algs4.sh