Converts ArrayList (board) into HTML