Adding ROW scheduling algorithm