random go direction function