Implemented functions to determine the nth working day