Eight-year-old child goes to court for shooting, killing grandmother