Added solution to problem 16
Added solution to problem 16