Added Cab Selection to loop and figure 8

Added Cab Selection to loop and figure 8
Moved  Get_Num function up