Understanding Support Vector Machine algorithm from examples