hw4 added: shell scripts

I just finished HW4 and submit here.