some basic algorithms in Machine learning