Code and hack till Java works
Few tests and code
Refacted code
Added support for unknown input
Support for newline between inputs
Added support for choosing your own delimiter
Refactored code