Given solution for 1-1

Left out more optimized solution because it requires information not given about problem.
Merge pull request #2 from PollockCR/solutions

Given solution for 1-1