added functionality to change pay period end date

added tests for payPeriod function. Tests will be added later today
Merge remote-tracking branch 'origin/master'