Understanding Machine Learning Algorithms: A Beginner's Guide