Rockwell man accidentally shoots friend in the groin