added check to see if a pass is safe, and to find a shot possible to goal