Refactored problem 1 to be consistent with problems 2 & 3 and fixed up README.md to 80 chars