my examples about algorithms