Renamed functions and created number array for Monom creation after parsing input string.