Updates

Added solutions to problems 5 & 6. Also added explanations for the
problems/solutions!