Create DirectionGenerator.m