add solution for problem006