Started the goto program

function getDir