You don't have a main method. I don't know how you're going to get the initial string, but I'd imagine maybe reading it in from the user.


public static void main(String[] args)
{
Scanner scan...