Japanese teacher provides sex education to student