Class 8 student commits suicide