The codes under the director are mainly about Algorithm