refactored the salaries to one line
refactored to print all employees just once
refactored gross salary to use super