contains the most basic algorithm in CS