the quickest possible implementation of optional delimeter
introduce Input class to help dealing with parsing the input
added missing test for different delimiters
added simple test for negatives