Added baseClass and burgerClass(one of three sub classes) using inheritance.