Example to demonstrate function based remove() method.
Remove on condition
Array of employees: