Changing priority method of MasterAction to take into consideration on which side of the fire the robot is currently standing.