Adding Exception and SimpleQueue classes