added 1st version of visitingProb

need to comment and add docstrings