added functions to draw the pieces and the board, but they need to be finished