has issues! do NOT necessarily be complex! should return the ptr of the compressed str. Be careful when the number of duplicated letter is >=10