Added payload2DirectionSequence() and checkHalls(). Should be ready for full path conversation