nTwice: first n and last n
Given a string and an int n, return a string made of the first n and last n characters of the string. The string length will be at least n. Step through nTwice: substring(0, n) takes the front, and str.length()-n is where the last n characters begin.