Implementation of the Toy Robot Problem
Used rpsec TDD/BDD testing framework http://rspec.info/ To install:
sudo gem install rspec
Create tests under spec folder then run command
rspec spec
ruby run.rb [input file]
Check file tests.txt to see the structure ofr tests. First line has to be the size of board, a number between 1 and 10.
Exit at anytime by typing
exit