Fix the order of the slots in a day

when several events exist for the same day
Simplify the day index computation
Add more test cases
Remove readme file