Add line clearing; grid size still hardcoded but now variable