add some simple directional functions to the repl
Merge pull request #2 from csquared/directions

add some simple directional functions to the repl