Restructured Transform.py

The visit_  functions were more or less randomly arranged.
Now it is structured on basis of the node classes as specified here https://docs.python.org/2/library/ast.html#abstract-grammar