Enable running `menu` from arbitrary folder

Instead of asking the user to change directory, let the script do it by itself.

`$0` expands to the filename of the script, then `dirname` extracts its
containing directory. `cd` changes the *current directory* to it. Then,
everything else works as before.