Inheritance exercise from day 10 notes.
missing curly bracket found. It compiles now.