EXP Treasure Hunt Autonomous Code Help

I am currently teaching a robotics class using the VEX EXP clawbot. I am trying to help a student with the autonomous portion of treasure hunt, but I am struggling. Does anyone have a good program to check all four balls and effectively get the red ball to the end? VEX does not give answer keys.