How will you punish her when she goes to preschool, or kindergarten, or just to a play date with a friend, and she hits another kid? After all, you've just shown her that the best way to resolve a conflict and get someone to stop doing something that you don't want them to do is to hit them.