How Does Samsung Ice Maker Know When to Stop? The Science Behind It