University assignment - Java program for aligning DNA sequences