Added get for x and y
Implemented isLegal to check Checkers

Reorganized the entire code for isLegal and added the function to check
the movimentation of the Checkers