Example to demonstrate function based remove() method.

Array of employees: