Final homework of CSC340 illustrating simple inheritance in a hypothetical graphic system.