changes in organisation of code.

new files: main.py, utils.py
class Graph changed