StackTraceDemo class implemented