created function groupTimeRecordsByEmployee()