small python program to show the diagram of my loan records