completed 'raise error when given negative number', all tests passing