Adding solution for level 8.