algorithm brrief introduction