4th problem(missingChar) done