Changed empty_exception class in MyQueue