Corrected the clear method and added the operator= (char)