formatted solution4(auto-format), added solution6
formatted solution4(auto-format), added solution6