Implementation of simplegui from CodeSkulptor using TkInter