Boy survives after shooting himself in head