Assignment 8

Danger here; the purpose of `is_legal_move()` is just to check if the move is allowed not to also *perform* the move which you appear to have done. It's a very dangerous line that could have had some negatively consequences later if someone was trying to use the function to just check board positions.