wacky commit 13

added if conditon
if (travelDistance*timePerMile<timeToAppt) {

}