update main php to include expand function per assignment, add year of birth and death.