created first iteration of tour.c program