sorts of algorithm excersise