Hi @q3nius
You can check your intermediate values by printing them and comparing with these. That way you could catch where your solution deviates from the intended one.
Cheers