Add user input and stored into an array