Shell script to travel a directory up n times.