comp 155 lab to demonstrate inheritance