ruby bits 2- solution 4 -  proc to block