Hubbard model and the origin of ferromagnetism