frontPiece: the first two (if there are two)

Given an int array of any length, return a new array of its first 2 elements. If the array is shorter than 2, use whatever elements are there. Step through frontPiece: a short array is already the right answer, so the method returns it as it is.