I think I see the problem here:
YOU.
I don't know what happened in your situation but you have a really poor attitude and a serious misunderstanding of your rights. Would you care to enlighten us as to how the 9th amendment provides a right to an education?
So far, based on your statements, you have no valid basis for an action against neither the school or the principal for either a civil or criminal action. Schools are allowed to utilize your attendance in determining your grades.

