R Assignment Solution on Employee Shift Management