First draft of the code
Add rake test tasks
Test Cases