Hi,

Can you plz brief in how getDrunk() function works ..

Along with use of
steps = rand() % numSteps;
dir = rand() % 2; // 0 is back and 1 is forward