Well on my computer Nim compiler still throws the error out, I have no idea why it compiles correctly on the playground because I literally copy pasted my code blocks...
Andd thanks for the tip on the equals function, I got it from a quick google and I thought it would suffice for this project :D
