Updating locations of source code (github).

Added cd to beginning of each code example.