Hate to tell you this but this code doesn't generate all possible combinations. Upon testing the code and converting it for java I have...
Separate names with a comma.