I'm trying to make a basic grid based dungeon crawler from the beginner exercises page. When I build&run and the program prints out the board[7][10] char array only one space on the board has a trap (denoted by 'T' character). But if I go step by step with the debugger it works perfectly and places 3 trap 'T' characters on the board like I want it to. I have no idea how to fix this problem or what is even causing it. I'm getting no errors from the compiler, it's just strange output.