How Machine Learning Works: Simple Explanation with Examples