toy pgm for finally clause in python