some Algorithm practice and introduction