Updated to accept the += operator, uses stdin/stdout, and will now handle arrays