Rewrote the whole infix to postfix algorithm so it's more simple and faster. Less cluttered too! And best of all, it finally works correctly!