The first for loop prints the proper coeffcient and exponent values as provided by the value string, but the second for loop which class the addLink method does not