auto generate periods list

can now auto generate the periods list
Merge branch 'Working' of https://github.com/team-16/TimetablingSystem into Working