Problem with populate function lies in the "down", or dir = 3 case. For some reason, it
only places the first piece, then just stops. All other directions work fine. Might just
work the whole thing into a function and call it 3 different times.