In this project we get inputs with arguments Therefore you should run the program with arguments
Firstly compile with
gcc -o main main.c
then run with that example
./main /bob/john/betty/clark /bob/harry/../john/./betty/david /bob/john/betty/../betty/tom/mark /bob///john///betty///brad///martin
DO NOT Forget the enter the directory of the project firstly