S'S ALGORITHM
ML学习中使用过的好用的helper-functions
###