Implemented formatted print for factor