added structs to objects lecture and inheritance example now works