Update simple.php

Added interface for $direction.
Update simple.php

Added $direction interface.
Merge pull request #21 from danielberlin/patch-7

Thanks! :-)