Added solution for part 1.
Added description of the problem part 1.