fix up the parseInput function and the mutiple results can be displaied
on the textarea