Coding exercises in Ruby using Rspec