python kalah working on main method ... next is to finish flow of main method