Quaternion class project for school