pep8 fixes
mooved the void_direction functions to the utils package
refactoring code