Level 8 solution
Level 9 solution