Implement validation for already drawn lines
The game grid currently allows players to draw a line that has already been drawn without any issue. The program should be updated to throw an IllegalStateException when a user tries to draw a line that has already been drawn.