Added solution to problem 18.
Added solution to problem 19.
Added solution to problem 20.