Insert new function: reallocate employee. Fix other errors.