Adding Pattern class which when used with CreateWithPatternCommand objects such as Beeps can be created according to some pattern, also added RectangularPattern and test code