The Secretary Problem Algorithm