Improve collision detection

Can now detect if there is a NOT_EMPTY cell to the left or the right of
the current tetromino blocks.