Simple code for explaining try-catch