added drawing of initial state
minor changes
refactoring of graphix