Add classic algorithms