reformatted solutions and small format changes to tex file.