A 20-year old man has surrendered to the police after opening fire at a school east of Atlanta in the US.