@@ -0,0 +1,544 @@
+package engine;%0A%0A/* Generates a string of 1s and 0s based on two rules, a starting string, and some length%0A*  Example: rule 1 = 1 -%3E 10 and 0 -%3E 01, start 1, 3 times%0A*  Result: 1101001%0A*/%0A%0Aabstract public class SADSstring %0A%7B%0A%09public static String Generate1(String rule1, String rule2, String startingString, int length)%0A%09%7B%0A%09%09String strFinal = startingString;%0A%09%0A%09%09for (int i = 0; i %3C length; i++) %0A%09%09%7B%09%0A%09%09%09if(strFinal.charAt(i) == '1')%0A%09%09%09%7B%09%09%09%09%0A%09%09%09%09strFinal += rule1;%0A%09%09%09%7D%0A%09%09%09else %0A%09%09%09%7B%0A%09%09%09%09strFinal += rule2;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09return strFinal;%0A%09%7D%0A%7D  %0A

Create SADSstring.java