added my solution and rspec driver test code