Also if anyone wants a look at the original program where the bug was found, please find the page below. I cannot post the link because it is not allowed I guess.

Github -> sajinmp -> nonweb-blog

I would love every suggestion and feedback from you to improve it. It has just started and thats when i met with this bug.