This biting behavior is completely unacceptable for someone in your piano teacher's position. I'd be looking around for a new piano teacher.