Asgn2, Refactor 2: Removed try/catch and replaced with 'throws' to allow
junit to catch the exception so test output is more easily readable.