created simple string class with exception handling and reference couting