hw-1: fixed return type of mult func & increased char buff size