practice some basic algorithm