Added solution to #1 to the README