Added solution to #19