added function "getFreeDaysAndPeriods(f_internship_id)"
merge