A scala project to simulate complicated timeshare scheduling