A study of artificial life and machine learning