Made change to provide consistency in the order of returned items.
Added solutions for problems P18-19.