first commit for solution with groovy-spock
can move fordward once passed
new test can move backward once
test passed most simple solution
refactor: remove duplication in test
red: new test can move left oncet
green: another if its the most simple at this moment
refactor: refactor the test using parametrized test with where clause
red: added test for right command
green: another if its the most simple
refactor: replaces the if-else-if with a map of actions
red: new test for fordward twice
green: first soluton, very ugly one
red: generalize the test for the four movements types
green: passed with ugly code
green: refactor the test and test more than twice movements, change the name of the test
green: refactor the test and test more than twice movements, change the name of the test
refactor: create class commandProcesor to separe the responsability of understand the commands and transform into actions
refactor: use a 'functor' instead of returning an array of actions
refactor: use a 'functor' instead of returning an array of actions