Added Labels and fixed createMonom function.