puts input into an array, and can give me that array back