make variables private. Use of constant variable for HAND {'r'=>'rock', 'p'=>'paper', 's'=>'scissors'}