Added solution for level 18.