TETRA : Wrong Answer

please help…i’m getting wrong answer. i don’t know wats wrong with the code . Here is the link to my solution

Click here

//