The foundations of The origin of species  two essays written in 1842 and 1844