corrected toString method and constructor to get rid of trailing zeros