my exercise with some classic algorithms