Sample codes files with examples of the open closed principle