Update main.cpp

add function can_move again
add function red_blue
add struct direction_1_2
    struct node

function red_blue:
return estimated direction width pairing information of number 1, 2, only
       and how much number 1 and number 2 is not pair
Merge pull request #5 from fwpp/patch-5

Update main.cpp