Java Program For String Buffer Functions Math