implemention of paper, rocks, scissors