Updated index.js to pad numbers since string parsing is difficult.
Reverted position code to space delimited positions.