Improved successive captures

Made the program handle successive captures where a piece is not
allowed to land on the same location twice, and is not allowed to
travel in the same direction twice in a row.