Fixed bug
Added solution for q 8