Initial solution commit.

Implement the remaining requirements: handle newline delimiter, ignore numbers
greater than one thousand, support custom delimiters, and disallow negatives.