pocker and array with rspec, implemented to hand