I'm getting a response that there is an infinite loop, but I have run this in Eclipse with no issues. So I think there is an issue with this problem, not the code.