added solution

added solution