Created a Person class with a worker and salary worker class. Worker and Salary both inherit from the Peerson class.