Schoolgirl 'beheaded classmate because she wanted to dissect someone'