Java program meant to take a string and swap the case of each character