added Assignment 2 pathdisplay