22-year-old accidentally shoots himself in Williamsburg