import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		ArrayList<String> strand = new ArrayList<String>();
		System.out.println("Original strand Sequence:");
		for (int i = 0; i<20; i++){
			int baseNum = (int) (Math.random() * 4);
			String baseLet = "";
			switch(baseNum){
			case 0: baseLet = "A";
			break;
			case 1: baseLet = "T";
			break;
			case 2: baseLet = "C";
			break;
			case 3: baseLet = "G";
			}
			strand.add(baseLet);
			System.out.print(strand.get(i));
		}
		
		System.out.println("");
		Scanner scan = new Scanner(System.in);
		System.out.println("");
		System.out.println("Choose Restriction Enzyme (Indicate Number):");
		System.out.println("1. EcoRI \n2. MscI \n3. PsiI");
		String input = scan.nextLine();


		splice(strand, input);
	}
	
	public static void insert(String nucleotide, ArrayList<String> strand){
		
		
	}

	public static ArrayList<String> splice(ArrayList<String> strand, String splitPos){
		return strand;
		
	}
	public int[] transcribe(int[] strand){
		return strand;
		
	}
	public int[] translate(int[] strand){
		return strand;
		
	}
	
}

@@ -793,111 +793,126 @@
 ();%0A
-%0A%0A%09%09splice(strand, input);%0A%09%7D%0A%09%0A%09public static void insert(String nucleotide, ArrayList%3CString%3E
+%09%09System.out.println(%22Insert Strand to Insert:%22);%0A%09%09String insert = scan.nextLine();%0A%0A%0A%09%09insert(input, insert,
  strand)
 %7B%0A%09%09
@@ -911,19 +911,14 @@
 and)
-%7B%0A%09%09%0A%09%09
+;
 %0A%09%7D%0A
+%09
 %0A%09pu
@@ -933,100 +933,86 @@
 tic 
-ArrayList%3CString%3E splice(ArrayList%3CString%3E strand, String splitPos)%7B%0A%09%09return strand;
+void insert(String input, String insert, ArrayList%3CString%3E strand)%7B%0A%09%09
 %0A%09%09%0A%09%7D%0A
+%0A
 %09pub

Update Main.java