Created Pattern24 class to represent 24-stitch, 2-colour patterns.