split lifecycle.cpp into three parts
completed second portion of lab
added headers to files