Kirkman's schoolgirl problem

A solution to Kirkman's schoolgirl problem with vertices denoting girls and colours denoting days of the week[1]

Kirkman's schoolgirl problem is a problem in combinatorics proposed by Thomas Penyngton Kirkman in 1850 as Query VI in The Lady's and Gentleman's Diary (pg.48). The problem states:

Fifteen young ladies in a school walk out three abreast for seven days in succession: it is required to arrange them daily so that no two shall walk twice abreast.[2]