code isn't broken and fixed bug where you couldn't move a piece