Update neuer_pool.sh

Change manual reads to while-loop and write the inputs to an array. :dancer: