Koans submission mode added to submit program.

Possible solution to Issue #65
Probably better to use `endsWith(".java")`