Add calculating complexibility for lab02.